package com.bentley.kotlindemo.db.entity

/**
 * <pre>
 *  ┌────────────────────────────────────────────
 *  │ @author  Lee  @date 2021/3/25 15:56
 *  ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
 *  │ @desc
 *  └────────────────────────────────────────────
 * </pre>
 */
//网络请求基础类
//class BaseResp<T>(val data: T, val errorCode: Int, val errorMsg: String)
class BaseResp<T>()

//"page": 1,
//"per_page": 6,
//"total": 12,
//"total_pages": 2,
data class ArticleBean(
    val page: Int,
    val per_page: Int,
    val total: Int,
    val total_pages:Int,
    val data: List<ArticleItemBean>
)

//"id": 2,
//"email": "janet.weaver@reqres.in",
//"first_name": "Janet",
//"last_name": "Weaver",
//"avatar": "https://reqres.in/img/faces/2-image.jpg"
data class ArticleItemBean(
    val id:Int,
    val email: String,
    val first_name: String,
    val last_name: String,
    val avatar: String

)
